<div bsModal #createOrEditModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="createOrEditModal" aria-hidden="true" [config]="{backdrop: 'static'}">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <form *ngIf="active" #customerAccountForm="ngForm" novalidate (ngSubmit)="save()" autocomplete="off">
                <div class="modal-header">
                    <h4 class="modal-title">
                        <span *ngIf="customerAccount.id">{{l("EditCustomerAccount")}}</span>
                        <span *ngIf="!customerAccount.id">{{l("CreateNewCustomerAccount")}}</span>
                    </h4>
                    <button type="button" class="close" (click)="close()" aria-label="Close" [disabled]="saving">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                 


								<div class="form-group">
									<label for="CustomerAccount_Name">{{l("Name")}}</label>
									<input type="text" id="CustomerAccount_Name" class="form-control" [(ngModel)]="customerAccount.name" name="Name"   minlength="0"  maxlength="50" />
								</div>
					
								<div class="form-group">
									<label for="CustomerAccount_Email">{{l("Email")}}</label>
									<input type="text" id="CustomerAccount_Email" class="form-control" [(ngModel)]="customerAccount.email" name="Email"   minlength="0"  maxlength="50" />
								</div>
					
								<div class="form-group">
									<label for="CustomerAccount_PhoneNum">{{l("PhoneNum")}}</label>
									<input type="text" id="CustomerAccount_PhoneNum" class="form-control" [(ngModel)]="customerAccount.phoneNum" name="PhoneNum"   minlength="0"  maxlength="20" />
								</div>
					
								<div class="form-group">
									<label for="CustomerAccount_PassWord">{{l("PassWord")}}</label>
									<input type="text" id="CustomerAccount_PassWord" class="form-control" [(ngModel)]="customerAccount.passWord" name="PassWord"   minlength="0"  maxlength="30" />
								</div>
					

                </div>
                <div class="modal-footer">
                    <button [disabled]="saving" type="button" class="btn btn-default" (click)="close()">{{l("Cancel")}}</button>
                    <button type="submit" class="btn btn-primary blue" [disabled]="!customerAccountForm.form.valid" [buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save")}}</span></button>
                </div>
            </form>
        </div>
    </div>

</div>